import { defineStore } from 'pinia'

const bankAccountInfoStore = defineStore("bankAccountInfo", {
    // 持久化存储插件其他配置
    state: () => ({
        info: {
            btcaId: "",
            customerCode: "",
            type: "",
            accountName: "",
            accountNo: "",
            bankName: "",
            accountType: "1",
            // bankSubName: "",
            // bankNo: "",
            default: false
        }
    }),

    actions: {
        resetInfo() {
            this.info = {
                btcaId: "",
                customerCode: "",
                type: "",
                accountName: "",
                accountNo: "",
                bankName: "",
                accountType: "1",
                // bankSubName: "",
                // bankNo: "",
                default: false
            }
        }
    },

    getters: {

    },
})

export default bankAccountInfoStore